<?php

class Application_Form_Marque extends Zend_Form
{

 public function init()
    {
        
    	$this->setName('marque');

        $id = new Zend_Form_Element_Hidden('id');
        $id->addFilter('Int');

        $nom_marque = new Zend_Form_Element_Text('nom_marque');
        $nom_marque->setLabel('nom')
                ->setRequired(true)
                ->addFilter('StripTags')
                ->addFilter('StringTrim')
                ->addValidator('NotEmpty');

      

        $envoyer = new Zend_Form_Element_Submit('envoyer');
        $envoyer->setAttrib('id', 'boutonenvoyer');

        $this->addElements(array($id, $nom_marque, $envoyer));
    }


}

